import pandas as pd

df = pd.DataFrame() # 创建一个空DataFrame
print(df.index)      # 显示其索引

if not df.empty:
    first_row = df.iloc[0]
else:
    print("DataFrame is empty")